Event.getAxis

Extract the axis value for a particular axis use from an event structure.

To find out which axes are used, use [method@Gdk.DeviceTool.get_axes] on the device tool returned by [method@Gdk.Event.get_device_tool].

class Event
bool
getAxis
(,
out double value
)

Parameters

axisUse GdkAxisUse

the axis use to look for

value double

location to store the value found

Return Value

Type: bool

%TRUE if the specified axis was found, otherwise %FALSE

Meta